package com.xxxx.manager.service.impl;

import com.xxxx.manager.mapper.BrandMapper;
import com.xxxx.manager.pojo.Brand;
import com.xxxx.manager.pojo.BrandExample;
import com.xxxx.manager.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceimpl implements BrandService {

    @Autowired
    private BrandMapper brandMapper;

    //查询所有品牌
    @Override
    public List<Brand> selectBrandList() {
        List<Brand> list=brandMapper.selectByExample(new BrandExample());
        return list;
    }
}
